import http from "./request"

// 获取首页统计信息
export const getTotalApi = async () => {
    return await http.get('/api/home/getTotal', null)
}

// 首页公告列表
export const getTopListApi = async () => {
    return await http.get("/api/notice/getTopList", null)
}

// 获取图表数据
export const getTotaBuildApi = async () => {
    return await http.get("/api/build/getTotal", null)
}